#ifndef GROUPCREATE_H
#define GROUPCREATE_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QMainWindow>
#include <QDebug>
#include <QDialog>
#include <QTcpSocket>
#include <QMessageBox>
#include <QListWidget>
#include<QListWidgetItem>
#include "uidesign.h"

namespace Ui {
class groupCreate;
}

class groupCreate : public QMainWindow
{
    Q_OBJECT

public:
    explicit groupCreate(QWidget *parent = 0);
    explicit groupCreate(QTcpSocket * s, QString Id, QWidget *parent = 0);
    ~groupCreate();

private slots:
    void on_buttonSubmit_clicked();
    void on_buttonCancel_clicked();
    void recv();

private:
    Ui::groupCreate *ui;
    QString gName;
    QString gID;
    QString ID;
    QTcpSocket* sock;
signals:
    void creategroupclose(QString, QString);
};

#endif // GROUPCREATE_H
